package com.qzsoft.zhjd.laboratory.modules.laboratoryductility.service.impl;

import java.util.Map;

import com.qzsoft.zhjd.common.annotation.ZhjdDataFilter;
import com.qzsoft.zhjd.laboratory.modules.laboratoryductility.dto.LaboratoryDuctilityDto;
import com.qzsoft.zhjd.laboratory.modules.laboratoryductility.entity.LaboratoryDuctilityEntity;
import com.qzsoft.zhjd.laboratory.modules.laboratoryductility.mapper.LaboratoryDuctilityMapper;
import com.qzsoft.zhjd.laboratory.modules.laboratoryductility.service.LaboratoryDuctilityService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.qzsoft.zhjd.common.components.BaseServiceComponent;


/**
 * @ClassName: ExpDuctilityServiceImpl
 * @Description: 延度业务接口实现
 * @author linhuawei
 * @since 2021-04-20
 */
@Service
public class LaboratoryDuctilityServiceImpl extends ServiceImpl<LaboratoryDuctilityMapper, LaboratoryDuctilityEntity>
        implements LaboratoryDuctilityService {
    
    @Autowired
    private BaseServiceComponent baseServiceComponent;

    @ZhjdDataFilter(tableAlias = "t1")
    @Override
    public IPage<LaboratoryDuctilityDto> page(Map<String, Object> params) {
        IPage<LaboratoryDuctilityDto> page = baseServiceComponent.getPage(params, LaboratoryDuctilityDto.class);
        return baseMapper.queryDto(page, params);
    }

}
